<div [@routerTransition]>

    <div class="m-subheader ">
        <div class="d-flex align-items-center">
            <div class="mr-auto col-xs-6">
                <h3 class="m-subheader__title m-subheader__title--separator">
                    <span>入库管理</span>
                </h3>
                <span class="m-section__sub">
                    入库管理的文本头信息
                </span>
            </div>
            <div class="col-xs-6 text-right">
                <!-- <button *ngIf="isGranted('Pages.Administration.Languages.Create')" (click)="createOrEditLanguageModal.show()" class="btn btn-primary blue"><i class="fa fa-plus"></i> {{l("CreateNewLanguage")}}</button> -->
            </div>
        </div>
    </div>

    <div class="m-content">
        <div class="m-portlet m-portlet--mobile">
            <div class="m-portlet__body">
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group m-form__group align-items-center">
                            <div class="input-group">
                                <input [(ngModel)]="hgzNo" name="hgzNo" autoFocus class="form-control m-input"
                                    placeholder="合格证号" type="text" (keyup)="($event.which === 13)?scanBillByHgzNo():0">
                                <span class="input-group-btn">
                                    <button (click)="putIntoModal.show(hgzNo)" class="btn btn-primary" type="submit">
                                        <i class="fa fa-crosshairs"></i>扫描
                                    </button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <!-- <div class="m-input-icon m-input-icon--right float-right" style="max-width: 500px;">
              <input type="text" [(ngModel)]="filterText" name="filterText" class="form-control m-input m-input--solid"
                placeholder="Search..." (keyup)="($event.which === 13)?getBills():0">
              <span class="m-input-icon__icon m-input-icon__icon--right">
                <span>
                  <i class="la la-search m--font-brand"></i>
                </span>
              </span>
            </div> -->
                        <button (click)="createOrEditWlModal.show()" class="btn btn-success">
                            <i class="fa fa-plus"></i>添加物流单
                        </button>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <putIntoModal #putIntoModal></putIntoModal>
    <createOrEditWlModal #createOrEditWlModal></createOrEditWlModal>
</div>
